home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set oldH to the mouseH
- set oldV to the mouseV
- set eensy to -1
- set thisSprite to the clickOn
- repeat while the mouseDown
- cursor([10, 11])
- set bloh to the regPoint of cast "MaskCast"
- set rogH to getAt(bloh, 1)
- set rogV to getAt(bloh, 2)
- set newV to the mouseV
- set newH to the mouseH
- set hOffset to newH - oldH
- set vOffset to newV - oldV
- set the regPoint of cast "Maskcast" to point(rogH - hOffset, rogV - vOffset)
- set the locH of sprite thisSprite to the locH of sprite thisSprite + eensy
- set eensy to -eensy
- updateStage()
- set oldH to newH
- set oldV to newV
- end repeat
- end
-